﻿namespace MainGame.Components
{
    using Microsoft.Xna.Framework;
    using Microsoft.Xna.Framework.Graphics;
    using Microsoft.Xna.Framework.Input;

    using XGameLibrary;
    using XGameLibrary.Input;
    using XGameLibrary.TileEngine;

    public class Player
    {
        public float stamina;

        public bool masterKey;

        public Player(Game game)
        {
            this.GameRef = (Game1)game;
            this.Camera = new Camera(this.GameRef.ScreenRectangle);
            this.stamina = 20;
        }

        public Camera Camera { get; set; }

        private Game1 GameRef { get; set; }

        public void Update(GameTime gameTime)
        {
            this.Camera.Update(gameTime);
        }

        public void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
        }
    }
}
